package me.android.library.ui.config;

import lombok.Data;
import lombok.EqualsAndHashCode;
import me.android.library.ui.api.LayoutLoader;

/**
 * Created by sylar on 15/6/3.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class FormInfo extends BaseElement<LayoutLoader> {

    protected String home;

    public FormInfo() {
    }

    @Override
    public LayoutLoader get() {
        if (t == null) {
            t = super.get();
            t.setKey(getId());
        }
        return super.get();
    }

}
